output of command should look like below:

PS C:\Users\dna\Documents> ssh -V
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

PS C:\Users\dna\Documents>  Get-Command ssh
CommandType   Name     Version  Source
-----------   ----     -------  ------
Application   ssh.exe  8.1.0.1  C:\WINDOWS\System32\OpenSSH\ssh.exe

PS C:\Users\dna\Documents> Get-Service ssh-agent

Status   Name               DisplayName
------   ----               -----------
Stopped  ssh-agent          OpenSSH Authentication Agent



Now if you type this next command:

Start-Service: Service 'OpenSSH Authentication Agent (ssh-agent)' cannot be started due to the following error: Cannot start service 'ssh-agent' on computer '.'.

Open windows services and check if ssh server is running.

 image

Really kind of crazy none of what the instruction on BitBucket recommended for window worked. I am suspecting all these new fangled keys that they accept, well they don't. I install git on windows opened up the gui and under the help menu> show keys. Pressed it said I had no keys even though I did. Git gui requested if I wanted to generate keys and I pressed yes. It generated 2 keys without any options id_rsa and id_rsa.pub. I copied the public to bitbucket then proceeded to try the ssh -T git@bitbucket.org. It accepted the key and all was well. WTF. Anyways 8 hours of searching and not finding any real productive answers. I am going to test it on my VirtualBox and see. I turned of ssh in windows services and I it still connected. I then i did a git push in my directory and everything worked as expected. What a waste of time.

 image

Date Modified: 2023-11-27